mkdir build
cd build

:: Set this path accordingly
pushd "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community"
call VC\Auxiliary\Build\vcvars64.bat
popd

cmake -GNinja ^
      -DCMAKE_PREFIX_PATH=%CONDA_PREFIX% ^
      -DCMAKE_TOOLCHAIN_FILE=%CONDA_PREFIX%\h2o.cmake ^
      -DCMAKE_BUILD_TYPE=Release ^
      -DPHOTO_PROBLEM_1=ON ^
      ../

ninja

"bin/problem1.exe"